<template>
  <view class="home-container">
    <image
      src="/static/images/navbar/home-bg.png"
      class="custom-nav-img"
    ></image>
    <customNav ref="customNavRef" title="首页"></customNav>
    <view class="content-box">内容</view>
  </view>
</template>

<script>
import customNav from '@/components/custom-nav'
export default {
  components: { customNav },
  onLoad: function () {
    
  },
  data() {
    return {
    }
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.home-container {
  position: relative;
  .custom-nav-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: -1;
  }
  .content-box {
    min-height: 100px;
  }
}
</style>
